100
|
How can I remove a bookmark
with thisform.Edit1
.Object.Bookmark(2) = .T.
.Object.Bookmark(2) = .F.
.BookmarkWidth = 16
endwith
|
99
|
How can I remove all bookmarks
with thisform.Edit1
.Object.Bookmark(2) = .T.
.Object.Bookmark(4) = .T.
.BookmarkWidth = 16
.ClearBookmarks
endwith
|
98
|
How can I add a bookmark

with thisform.Edit1
.Object.Bookmark(2) = .T.
.Object.Bookmark(4) = .T.
.BookmarkWidth = 16
endwith
|
97
|
How can I change the format to display the numbers

with thisform.Edit1
.FormatNumbers = "<b><fgcolor=FF0000> </fgcolor></b>"
.InsertText("Just numbers: 12 22\r\n",1)
endwith
|
96
|
Is there any option to change the color for the line that displays the cursor or the caret

with thisform.Edit1
.BackColorCaretLine = RGB(255,0,0)
endwith
|
95
|
Can I display the lines using an alternate color

with thisform.Edit1
.BackColorAlternate = RGB(255,0,0)
endwith
|
94
|
How can I disable or enable displaying the Replace dialog
with thisform.Edit1
.AllowReplace = .F.
endwith
|
93
|
Does your control support incrementasl search

with thisform.Edit1
.AllowIncrementalSearch = .T.
endwith
|
92
|
How can I programmatically find or search for a word only
with thisform.Edit1
.HideSelection = .F.
.Find("IDD_DIALOG_INSTALL",2)
endwith
|
91
|
How can I programmatically find or search for a string

with thisform.Edit1
.HideSelection = .F.
.Find("public",0)
endwith
|
90
|
How can I disable or enabled the Find dialog
with thisform.Edit1
.AllowFind = .F.
endwith
|
89
|
How can I enable my button as the control can perform an REDO operation

with thisform.Edit1
var_CanRedo = .CanRedo
endwith
|
88
|
How can I enable my button as the control can perform an UNDO operation
with thisform.Edit1
var_CanUndo = .CanUndo
endwith
|
87
|
How can I disable or enable the undo-redo feature

with thisform.Edit1
.AllowUndoRedo = .F.
endwith
|
86
|
How can I change the color for the border where the line numbers are displayed

with thisform.Edit1
.LineNumberForeColor = RGB(255,0,0)
.LineNumberBackColor = RGB(0,0,255)
.LineNumberWidth = 32
endwith
|
85
|
How can I change the color of the bookmark border

with thisform.Edit1
.BookMarkBackColor = RGB(255,0,0)
.BookMarkBackColor2 = RGB(255,0,0)
.BookmarkWidth = 16
endwith
|
84
|
How can I refresh the control

with thisform.Edit1
.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
.Refresh
endwith
|
83
|
How can I change the size of the tabs characters

with thisform.Edit1
.TabLength = 8
endwith
|
82
|
I've seen that if I press CTRL + ( I get the matching braket. How can I extend this
with thisform.Edit1
.OpenBrackets = "<"
.CloseBrackets = ">"
endwith
|
81
|
How can I hide the selection
with thisform.Edit1
.DisplaySelection = .F.
endwith
|
80
|
How can I display both scroll bars

with thisform.Edit1
.ScrollBars = 3
endwith
|
79
|
How can I display only the vertical scroll bar

with thisform.Edit1
.ScrollBars = 2
endwith
|
78
|
How can I display only the horizontal scroll bar

with thisform.Edit1
.ScrollBars = 1
endwith
|
77
|
How can I hide the control's scroll bars

with thisform.Edit1
.ScrollBars = 0
endwith
|
76
|
How can I insert at specified position a new line

with thisform.Edit1
.InsertText("newline\r\n",2)
.Object.BackColorLine(2) = RGB(255,0,0)
endwith
|
75
|
How can I remove or delete all lines
with thisform.Edit1
.Text = ""
endwith
|
74
|
How can I remove or delete a line

with thisform.Edit1
.DeleteLine(1)
endwith
|
73
|
How do I change the character where the caret or the cursor is displayed
with thisform.Edit1
.CaretPos = 10
endwith
|
72
|
How do I change the line where the caret or the cursor is displayed
with thisform.Edit1
.CaretLine = 10
endwith
|
71
|
How do I replace a line

with thisform.Edit1
.Object.TextLine(1) = "new line"
endwith
|
70
|
How do I get a line
with thisform.Edit1
.Object.TextLine(1) = "new line"
endwith
|
69
|
How do I get the number of lines in the control
with thisform.Edit1
var_Count = .Count
endwith
|
68
|
How do I get the point where the selection starts

with thisform.Edit1
.SelStart = 4
.SelLength = 10
.HideSelection = .F.
endwith
|
67
|
How do I get the number of selected characters

with thisform.Edit1
.SelLength = 10
.HideSelection = .F.
endwith
|
66
|
How can I get the selected text
with thisform.Edit1
.SelLength = 10
var_SelText = .SelText
endwith
|
65
|
How can I replace the selected text

with thisform.Edit1
.SelLength = 10
.SelText = "-new selection-"
endwith
|
64
|
How can I avoid changing the colors for keywords or expressions

with thisform.Edit1
.ApplyColors = .F.
.AddKeyword("<fgcolor=FF0000><b>class</b></fgcolor>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
.Refresh
endwith
|
63
|
How can I display HTML text

with thisform.Edit1
.EditType = 2
.Text = "<b>just a HTML text</b>\r\nnew <s>line</s>"
endwith
|
62
|
How can I use it a a simple edit control, without highlighting

with thisform.Edit1
.EditType = 0
endwith
|
57
|
How can I display only a single line
with thisform.Edit1
.MultiLine = .F.
endwith
|
56
|
How can I disable displaying multiple lines
with thisform.Edit1
.MultiLine = .F.
endwith
|
55
|
How can change the color for selected text

with thisform.Edit1
.HideSelection = .F.
.SelLength = 10
.SelBackColor = RGB(255,0,0)
endwith
|
54
|
How can change the color for selected text

with thisform.Edit1
.HideSelection = .F.
.SelLength = 10
.SelForeColor = RGB(255,0,0)
endwith
|
53
|
How can I disable displaying the control's context menu
with thisform.Edit1
.AllowContextMenu = .F.
endwith
|
52
|
Is there any option to hide the caret or the cursor
with thisform.Edit1
.ShowCaret = .F.
endwith
|
51
|
How can still display the selected text when the control loses the focus

with thisform.Edit1
.HideSelection = .F.
.SelLength = 10
endwith
|
50
|
How can I disable adding new TAB characters when the user enters a new line
with thisform.Edit1
.AutoIndent = .F.
endwith
|
49
|
How can I disable using the Tab key
with thisform.Edit1
.UseTabKey = .F.
endwith
|
48
|
How can I hide the number of each line
with thisform.Edit1
.LineNumberWidth = 0
endwith
|
47
|
How can I display or show the number of each line

with thisform.Edit1
.LineNumberWidth = 32
endwith
|
46
|
How can I clear the text
with thisform.Edit1
.Text = ""
endwith
|
45
|
How can I specify the text being displayed in the control

with thisform.Edit1
.Text = "new line\r\nnew line"
endwith
|
44
|
How can I hide the bookmark border
with thisform.Edit1
.BookmarkWidth = 0
endwith
|
43
|
How can I show the bookmark border

with thisform.Edit1
.BookmarkWidth = 16
endwith
|
42
|
How do I lock the control

with thisform.Edit1
.Locked = .T.
endwith
|
41
|
How do I disable or enable the control
with thisform.Edit1
.Enabled = .F.
endwith
|
40
|
How can I change the visual appearance of the splitter

with thisform.Edit1
.AllowSplitter = 3
.SplitPaneWidth = 128
.SplitPaneHeight = 128
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.Object.Background(0) = 0x1000000
.Object.Background(1) = 0x1000000
.Object.Background(2) = 0x2000000
endwith
|
39
|
How can I change the visual appearance of the vertical splitter

with thisform.Edit1
.AllowSplitter = 3
.SplitPaneWidth = 128
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Object.Background(0) = 0x1000000
endwith
|
38
|
How can I change the visual appearance of the horizontal splitter

with thisform.Edit1
.AllowSplitter = 3
.SplitPaneHeight = 128
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Object.Background(1) = 0x1000000
endwith
|
37
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

with thisform.Edit1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
.Object.Background(388) = 0x1000000
.Object.Background(389) = 0x2000000
.Object.Background(391) = 0x3000000
.Object.Background(260) = 0x1000000
.Object.Background(261) = 0x2000000
.Object.Background(263) = 0x3000000
endwith
|
36
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

with thisform.Edit1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
.Object.Background(388) = 0x1000000
.Object.Background(389) = 0x2000000
.Object.Background(391) = 0x3000000
.Object.ScrollThumbSize(1) = 96
endwith
|
35
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that

with thisform.Edit1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
.Object.Background(324) = 0x1000000
.Object.Background(325) = 0x2000000
.Object.Background(327) = 0x3000000
.Object.Background(404) = RGB(240,240,240)
.Object.Background(276) = RGB(240,240,240)
.Object.Background(3) = RGB(240,240,240)
endwith
|
34
|
Can I change the forecolor for the tooltip

with thisform.Edit1
.ToolTipDelay = 1
.ToolTipWidth = 364
.Object.Background(66) = RGB(255,0,0)
.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
.Refresh
endwith
|
33
|
Can I change the background color for the tooltip

with thisform.Edit1
.ToolTipDelay = 1
.ToolTipWidth = 364
.Object.Background(65) = RGB(255,0,0)
.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
.Refresh
endwith
|
32
|
Can I change the default border of the tooltip, using your EBN files

with thisform.Edit1
.ToolTipDelay = 1
.ToolTipWidth = 364
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Object.Background(64) = 0x1000000
.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
.Refresh
endwith
|
31
|
How do I call your x-script language

with thisform.Edit1
.ExecuteTemplate("BackColor = RGB(255,0,0)")
endwith
|
30
|
How do I call your x-script language

with thisform.Edit1
.Template = "BackColor = RGB(255,0,0)"
endwith
|
29
|
Can I change the font for the tooltip

with thisform.Edit1
.ToolTipDelay = 1
with .ToolTipFont
.Name = "Tahoma"
.Size = 14
endwith
.ToolTipWidth = 364
.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
.Refresh
endwith
|
28
|
I've seen that the width of the tooltip is variable. Can I make it larger

with thisform.Edit1
.ToolTipWidth = 328
.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
.Refresh
endwith
|
27
|
How do I let the tooltip being displayed longer

with thisform.Edit1
.ToolTipPopDelay = 10000
.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
.Refresh
endwith
|
26
|
How do I disable showing the tooltip for all control
with thisform.Edit1
.ToolTipDelay = 0
.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
.Refresh
endwith
|
25
|
How do I show the tooltip quicker

with thisform.Edit1
.ToolTipDelay = 1
.AddKeyword("<b>class</b>","this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword.","exontrol.edit")
.Refresh
endwith
|
24
|
Can I change the order of the buttons in the scroll bar

with thisform.Edit1
.Object.ScrollOrderParts(1) = "t,l,r"
.Object.ScrollOrderParts(0) = "t,l,r"
endwith
|
23
|
The thumb size seems to be very small. Can I make it bigger

with thisform.Edit1
.Object.ScrollThumbSize(1) = 164
endwith
|
22
|
How do I enlarge or change the size of the control's scrollbars

with thisform.Edit1
.ScrollHeight = 18
.ScrollWidth = 18
.ScrollButtonWidth = 18
.ScrollButtonHeight = 18
endwith
|
21
|
How can I display my text on the scroll bar, using a different font

with thisform.Edit1
.Object.ScrollPartCaption(1,256) = "This is just a text"
.ScrollFont(1).Size = 12
.Object.ScrollThumbSize(1) = 128
.ScrollHeight = 24
.Object.ScrollPartCaption(1,256) = "This is <s><font Tahoma;12> just </font></s> text"
.ScrollHeight = 20
endwith
|
20
|
How can I display my text on the scroll bar

with thisform.Edit1
.Object.ScrollPartCaption(1,256) = "this is just a text"
.Object.ScrollThumbSize(1) = 96
endwith
|
19
|
How do I assign a tooltip to a scrollbar

with thisform.Edit1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Object.ScrollToolTip(1) = "This is a <img>0x1000000</img>tooltip being shown when you click and drag the thumb in the horizontal scroll bar"
endwith
|
18
|
How do I assign an icon to the button in the scrollbar

with thisform.Edit1
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
.Object.ScrollPartVisible(1,32768) = .T.
.Object.ScrollPartCaption(1,32768) = "<img>1</img>"
.ScrollHeight = 18
.ScrollButtonWidth = 18
endwith
|
17
|
I need to add a button in the scroll bar. Is this possible

with thisform.Edit1
.Object.ScrollPartVisible(1,32768) = .T.
.Object.ScrollPartCaption(1,32768) = "1"
endwith
|
16
|
Can I display an additional buttons in the scroll bar

with thisform.Edit1
.Object.ScrollPartVisible(1,32768) = .T.
.Object.ScrollPartVisible(1,16384) = .T.
.Object.ScrollPartVisible(1,1) = .T.
.Object.ScrollPartVisible(1,2) = .T.
endwith
|
15
|
How do I change the control's foreground color

with thisform.Edit1
.ForeColor = RGB(255,0,0)
endwith
|
14
|
How do I change the control's background color

with thisform.Edit1
.BackColor = RGB(200,200,200)
endwith
|
13
|
How can I change the control's font

with thisform.Edit1
.Font.Name = "Verdana"
endwith
|
12
|
How do I put a picture on the center of the control

with thisform.Edit1
.Picture = thisform.Edit1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.PictureDisplay = 17
endwith
|
11
|
How do I resize/stretch a picture on the control's background

with thisform.Edit1
.Picture = thisform.Edit1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.PictureDisplay = 49
endwith
|
10
|
How do I put a picture on the control's center right bottom side

with thisform.Edit1
.Picture = thisform.Edit1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.PictureDisplay = 34
endwith
|
9
|
How do I put a picture on the control's center left bottom side

with thisform.Edit1
.Picture = thisform.Edit1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.PictureDisplay = 32
endwith
|
8
|
How do I put a picture on the control's center top side

with thisform.Edit1
.Picture = thisform.Edit1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.PictureDisplay = 1
endwith
|
7
|
How do I put a picture on the control's right top corner

with thisform.Edit1
.Picture = thisform.Edit1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.PictureDisplay = 2
endwith
|
6
|
How do I put a picture on the control's left top corner

with thisform.Edit1
.Picture = thisform.Edit1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.PictureDisplay = 0
endwith
|
5
|
How do I put a picture on the control's background

with thisform.Edit1
.Picture = thisform.Edit1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
endwith
|
4
|
How do I change the control's border, using your EBN files

with thisform.Edit1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Appearance = 16777216 && 0x1000000
endwith
|
3
|
How do I remove the control's border

with thisform.Edit1
.Appearance = 0
endwith
|
2
|
How can I add a line

with thisform.Edit1
.InsertText(" - insert the line as the last - \r\n")
endwith
|
1
|
How can I insert a line

with thisform.Edit1
.InsertText(" - insert the line as the first - \r\n",1)
endwith
|